package com.pope.framework.rescue.modular.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.pope.framework.rescue.modular.entity.RescueInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description= "离抢信息")
public class RescueInfoDto {
	 /**
     * 系统主键
     */

    /**
     * 离抢去向
     */
    @ApiModelProperty(value = "离抢去向编码",dataType="String",required=true)
    @NotBlank(message="离抢去向不能为空")
    private String rescueWhereAbouts;

    /**
     * 离抢时间
     */
    @TableField("RESCUE_TIME")
    @ApiModelProperty(value = "离抢时间",dataType="String",required=true)
    @NotBlank(message="离抢去向不能为空")
    private String rescueTime;

    
    /**
     * 说明
     */
    @TableField("CONTENT")
    @ApiModelProperty(value = "离抢说明",dataType="String",required=false)
    private String content;

   

    /**
     * 分诊ID
     */
    @ApiModelProperty(value = "分诊ID",dataType="Integer",required=true)
    @NotNull(message="分诊ID不能为空")
    private Integer triageId;

    /**
     * 患者ID
     */
    @ApiModelProperty(value = "患者ID",dataType="Integer",required=false)
    private Integer patientId;
    @ApiModelProperty(value = "医院ID",dataType="Integer",required=true)
    @NotNull(message="所在医院ID不能为空")
    private Integer hospitalId;
    
    @ApiModelProperty(value = "离抢信息主键，添加必须为空，修改可不为空",dataType="Integer",required=false)
    private Integer id;
}
